package com.wang.cloud.manage.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;


/**
 * <p>
 * 系统-菜单权限表
 * </p>
 *
 * @author wy
 * @since 2024-07-15
 */
@Getter
@Setter
@Schema(description = "系统-菜单权限表详情参数")
public class MenuPageVo {

    @Schema(description = "数据ID")
    private Long id;

    @Schema(description = "父菜单ID")
    private Long parentId;

    @Schema(description = "所属上级菜单（路由）的id集合")
    private String ancestors;

    @Schema(description = "菜单（路由）的所在层级（最多支持5级）")
    private Integer lv;

    @Schema(description = "菜单(路由)名称")
    private String menuName;

    @Schema(description = "路由地址")
    private String path;

    @Schema(description = "菜单图标")
    private String icon;

    @Schema(description = "菜单类型（M目录 C菜单 F按钮）")
    private String menuType;

    @Schema(description = "菜单状态（0正常 1停用）")
    private String status;

    @Schema(description = "显示顺序")
    private Integer orderNum;

    @Schema(description = "权限标识")
    private String perms;

    @Schema(description = "组件路径")
    private String component;

    @Schema(description = "是否为外链（0是 1否）")
    private Integer isFrame;

    @Schema(description = "是否缓存（0缓存 1不缓存）")
    private Integer isCache;

    @Schema(description = "菜单状态（0显示 1隐藏）")
    private String visible;

    @Schema(description = "子路由数量")
    private Integer childNodesNum;

}
